package com.weijianhuawen.wjblog.admin.mode.vo.article;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @version: java version 8
 * @Author: weijianhuawen
 * @description: 文章置顶请求实体
 * @date: 2024-11-10 19:27
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "文章置顶 请求实体")
public class UpdateArticleIsTopReqVo {
    @NotNull(message = "置顶文章id不能为空")
    private Long id;
    @NotNull(message = "文章置顶状态不能为空")
    private Boolean isTop;
}
